[INFO] fetching crate hawkbit 0.3.0...
[INFO] checking hawkbit-0.3.0 against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312
[INFO] extracting crate hawkbit 0.3.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate hawkbit 0.3.0 on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hawkbit 0.3.0
[INFO] finished tweaking crates.io crate hawkbit 0.3.0
[INFO] tweaked toml for crates.io crate hawkbit 0.3.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate crates.io crate hawkbit 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_matches v1.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3c8f31f36ef28c61a7fbb05d8163ce9dc9744105233030a284e8d0d4eeb4ec2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c3c8f31f36ef28c61a7fbb05d8163ce9dc9744105233030a284e8d0d4eeb4ec2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3c8f31f36ef28c61a7fbb05d8163ce9dc9744105233030a284e8d0d4eeb4ec2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3c8f31f36ef28c61a7fbb05d8163ce9dc9744105233030a284e8d0d4eeb4ec2", kill_on_drop: false }`
[INFO] [stdout] c3c8f31f36ef28c61a7fbb05d8163ce9dc9744105233030a284e8d0d4eeb4ec2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb835d688ccc1471f73346597a0c47bb89999cf0d6e8c6eeeb255bb7cc0c0321
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eb835d688ccc1471f73346597a0c47bb89999cf0d6e8c6eeeb255bb7cc0c0321", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling libc v0.2.85
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking pin-project-lite v0.2.4
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]     Checking futures-sink v0.3.12
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling httparse v1.3.5
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking assert_matches v1.4.0
[INFO] [stderr]    Compiling tokio v1.1.1
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking thread_local v1.1.2
[INFO] [stderr]     Checking tinyvec v1.1.1
[INFO] [stderr]     Checking futures-channel v0.3.12
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking http v0.2.3
[INFO] [stderr]     Checking tracing v0.1.22
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking mio v0.7.7
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking env_logger v0.8.2
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking http-body v0.4.0
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]     Checking tokio-util v0.6.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling structopt-derive v0.4.14
[INFO] [stderr]     Checking futures-util v0.3.12
[INFO] [stderr]     Checking thiserror v1.0.23
[INFO] [stderr]     Checking pin-project v1.0.4
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking structopt v0.3.21
[INFO] [stderr]     Checking tracing-futures v0.2.4
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]     Checking h2 v0.3.0
[INFO] [stderr]     Checking futures-executor v0.3.12
[INFO] [stderr]     Checking futures v0.3.12
[INFO] [stderr]     Checking hyper v0.14.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking serde_json v1.0.61
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.0
[INFO] [stderr]     Checking hawkbit v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> examples/polling.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hawkbit_mock`
[INFO] [stdout]   --> tests/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use hawkbit_mock::ddi::{Deployment, DeploymentBuilder, Server, ServerBuilder, Target};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `hawkbit_mock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]   --> tests/tests.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[tokio::test]
[INFO] [stdout]    |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]   --> tests/tests.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[tokio::test]
[INFO] [stdout]    |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]    --> tests/tests.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | #[tokio::test]
[INFO] [stdout]     |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]    --> tests/tests.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[tokio::test]
[INFO] [stdout]     |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]    --> tests/tests.rs:247:10
[INFO] [stdout]     |
[INFO] [stdout] 247 | #[tokio::test]
[INFO] [stdout]     |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]    --> tests/tests.rs:286:10
[INFO] [stdout]     |
[INFO] [stdout] 286 | #[tokio::test]
[INFO] [stdout]     |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]   --> tests/tests.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let server = ServerBuilder::default().tenant("my-tenant").build();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]   --> tests/tests.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let server = ServerBuilder::default().build();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeploymentBuilder`
[INFO] [stdout]    --> tests/tests.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     DeploymentBuilder::new("10", Type::Forced, Type::Attempt)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ use of undeclared type `DeploymentBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]    --> tests/tests.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let server = ServerBuilder::default().build();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]    --> tests/tests.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout] 191 |     let server = ServerBuilder::default().build();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]    --> tests/tests.rs:251:18
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let server = ServerBuilder::default().build();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerBuilder`
[INFO] [stdout]    --> tests/tests.rs:290:18
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let server = ServerBuilder::default().build();
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ use of undeclared type `ServerBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Server` in this scope
[INFO] [stdout]   --> tests/tests.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn add_target(server: &Server, name: &str) -> (Client, Target) {
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Target` in this scope
[INFO] [stdout]   --> tests/tests.rs:21:56
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn add_target(server: &Server, name: &str) -> (Client, Target) {
[INFO] [stdout]    |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 4  | use env_logger::Target;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Deployment` in this scope
[INFO] [stdout]    --> tests/tests.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn get_deployment(valid_checksums: bool) -> Deployment {
[INFO] [stdout]     |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/tests.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for i in 0..2 {
[INFO] [stdout]    |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/tests.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let reply = client.poll().await.expect("poll failed");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/tests.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for i in 0..2 {
[INFO] [stdout]    |                 ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/tests.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let reply = client.poll().await.expect("poll failed");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/tests.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for i in 0..2 {
[INFO] [stdout]    |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/tests.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let reply = client.poll().await.expect("poll failed");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/tests.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for i in 0..2 {
[INFO] [stdout]    |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/tests.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let reply = client.poll().await.expect("poll failed");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/tests.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for i in 0..2 {
[INFO] [stdout]    |         ^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/tests.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let reply = client.poll().await.expect("poll failed");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future`
[INFO] [stdout]   --> examples/polling.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn main() -> Result<()> {
[INFO] [stdout]    |                    ^^^^^^^^^^ `main` can only return types that implement `Termination`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `()`, or a `Result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> examples/polling.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | async fn main() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hawkbit`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0698.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "eb835d688ccc1471f73346597a0c47bb89999cf0d6e8c6eeeb255bb7cc0c0321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb835d688ccc1471f73346597a0c47bb89999cf0d6e8c6eeeb255bb7cc0c0321", kill_on_drop: false }`
[INFO] [stdout] eb835d688ccc1471f73346597a0c47bb89999cf0d6e8c6eeeb255bb7cc0c0321
